<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<title>SSHチケット販売管理画面</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script type="text/javascript" src="/resources/js/jquery.js"></script>
	<script type="text/javascript" src="/resources/js/jquery.ajax.js"></script>
	<script type="text/javascript">
		function login() {
			var param = {
				userId : jQuery("#userId").val(),
				userPw : jQuery("#userPw").val()
			};
			ajaxToJSON("/admin/login.do", param, function(data) {
				jQuery(location).attr("href", data.foward);
			});
		}
	</script>
	<link href="/resources/css/admin.css" rel="stylesheet" type="text/css" />
</head>
<!--[if IE 7 ]><body class="ie7 legacy-ie"> <![endif]-->
<!--[if IE 8 ]><body class="ie8 legacy-ie"> <![endif]-->
<!--[if IE 9 ]><body class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><body><!--<![endif]-->
<div id="container">
	<h1>SHIN SEUNG HUN LIVE IN TOKYO</h1>

	<div id="subheader">
		<!--<p><a href="#">Logout</a></p>-->
	</div>
	<div class="sshLoginArea">
		<fieldset>
			<legend>LOGIN</legend>
			
			<label for="un">Username</label><input type="text" id="userId" name="userId" value="" size="20" onkeydown="if(event.keyCode==13) javascript:login();"><br />
			<label for="pw">Password</label><input type="text" id="userPw" name="userId" value="" size="20" onkeydown="if(event.keyCode==13) javascript:login();"><br />	
			<button type="button" class="btn1" onclick="javascript:login();">LOGIN</button>
						
		</fieldset>
	</div>
</div>

</body>
</html>